package com.cooldatasoft.domain.service;

import java.util.List;

import com.cooldatasoft.domain.model.Project;
import com.cooldatasoft.domain.model.User;

public interface UserService {
	
	Long insertUser(User user);

	void updateUser(User user);
	
	void deleteUser(Long userId);

	List<User> getAllUser();
	
	User getUserByEmail(String email);
	
	User getUserById(Long id);
	
	User getUserBySurname(String surname);
	
	User getUserByPassword(String openId);

	int getTaskPercentage(User user_in, Project project_in);
}
